Repository navigation
Ship compiler-integrated tests for Ny and Matrix - #23
Merged
Merged
Conversation
bytetroll
added a commit
that referenced
this pull request
Oct 30, 2026
PR #24 was merged into codex/niltest-colocated rather than master, so the Matrix UI library and its compiler fixes stayed off the release branch while PR #23 (niltest) landed on its own. This brings nilstd/src/ui and the accompanying type-checker, parser and GTK runtime work onto master so the sealed SDK packages nil.std.ui. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ny and Matrix tests can now live beside their implementation and run through the same checked compiler pipeline as production code. Named cases, annotated functions, suite groups and lexical inline test blocks are discovered by
nilcompiler; production builds remove test-only declarations before checking and lowering.niltestcompiles once per VM/native route and isolates each case in its own process, with deadlines, cancellation, descendant cleanup and structured JSON/NILData results.nilbuild testuses project SDK/import settings. VS Code Test Explorer provides compiler-backed discovery and interpreter/native run profiles. The Matrix-authorednil.std.testingsupplies scalar checks and checked Option/Result extraction, with its tests in the module itself.This also fixes Matrix generic parameter comma parsing, generic attached-test discovery, checked ownership in test wrappers, and missing dependencies in direct Option/Result imports. Property generators, coverage and test-debugging profiles remain explicit follow-up work. The UI rebuild findings are recorded; no UI backend is introduced by this change.
Validation:
nilbuild testdelegation and executable documentation examples.